﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Request.Act
{
    public class SalesSheetItemAct
    {
        /// <summary>
        /// 项目类型。0=商品；1=服务；2=服务套餐,3=卡券 , 4=自定义套餐,5=组合商品
        /// </summary>
        public int ItemType { get; set; }

        /// <summary>
        /// 项目ID
        /// </summary>
        public Guid ItemID { get; set; }

        /// <summary>
        /// 吊牌价,前端可以不用传
        /// </summary>
        public decimal SalesPrice { get; set; }

        /// <summary>
        /// 实际销售价,前端可以不用传
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int? Qty { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
    }

    public class OnlineGoodsItemAct
    {
        /// <summary>
        /// 项目类型，0=商品；1=服务；5=组合商品；3=卡券 4=自定义套餐,2=服务套餐
        /// </summary>
        public int ItemType { get; set; }

        /// <summary>
        /// 项目ID
        /// </summary>
        public Guid ItemId { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int? Qty { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
    }

    public class OnlineGoodsItems
    {
        /// <summary>
        /// 项目类型，0=商品；1=服务；2=组合商品；3=卡券 4=自定义套餐
        /// </summary>
        public int ItemType { get; set; }

        /// <summary>
        /// ID
        /// </summary>
        public Guid ItemID { get; set; }
    }
}
